Example of scripting a site with
PageSpinner & AppleScript
 Previous  Next  TOC

Linked Pages
The following templates are used in the non-frame view with links between pages:

- PageTemplate.html
- IndexTemplate.html

The file "PageTemplate.html" is the template that will be used to contain the contents from a text file, and the file "IndexTemplate.html" will be the base for the index page containing the table of contents.

You can edit these templates with PageSpinner, remember to check the stationery box using Finder's Get Info command before running the script.

After running the script, it will also create a file named "index.html", the page containing the table of contents.

The generated pages are named like this: the first file "file_1.html", the second "file_2.html" and so on.

The following GIF-images are used in the pages, these are located in the "Sample Web Files" folder:


top.gif
right.gif
left.gif
doc.gif